﻿namespace D.UtilEventbus
{
    /// <summary>
    /// 事件数据
    /// </summary>
    public interface IEventData
    {
        /// <summary>
        /// 事件ID
        /// </summary>
        public Guid Id { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Count { get; set; }
        /// <summary>
        /// 事件名称
        /// </summary>
        public string EventName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 事件源，触发事件的对象
        /// </summary>
        public object EventSource { get; set; }
    }
}
